package com.cium.aqie.objectOriented.sealedEx

/**
 * @Function: 密封类： 场景用于指令
 * @Author: aqie
 * @Date: 2019/9/1 15:05
 */
sealed class SealedClass {
    class Play(val url: String, val position: Long = 0): SealedClass()

    class Seek(val position: Long): SealedClass()

    object Pause: SealedClass()

    object Resume: SealedClass()

    object Stop: SealedClass()
}
